import * as types from '../constants/ActionTypes'
import * as buttonTypes from '../constants/CollectionButtonTypes'
const initialState = {
  container: 'none',
}
export default function click(state=initialState, action) {
  switch(action.type) {
    case types.SHORTCUT:{
      return {
        container: buttonTypes.SHORTCUTCOLLECTION,
        title: action.title,
      }
    }
    default: {
      return state
    }
  }
}